<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
	<base href="<%=basePath%>">
	<title>银行</title>
	<link rel="stylesheet" href="easyui/jquery-easyui-1.4.3/themes/gray/easyui.css">
	<link rel="stylesheet" href="easyui/jquery-easyui-1.4.3/themes/icon.css">
	<script type="text/javascript" src="easyui/jquery-easyui-1.4.3/jquery.min.js"></script>
	<script type="text/javascript" src="easyui/jquery-easyui-1.4.3/jquery.easyui.min.js"></script>
	<script type="text/javascript" src="easyui/jquery-easyui-1.4.3/locale/easyui-lang-zh_CN.js"></script>
	
	<style type="text/css">
		li{
			list-style:none;
			margin-top : 10px
		}
		ul{
			margin-left : -41px;
		}
	</style>
</head>
  
<body>
	<div id="main" class="easyui-layout" style="width:100%;height:100%;">   
    	<div data-options="region:'west'" style="width:150px;">
    		<img alt="logo" src="images/logo.jpg" style="width:150px">
    		<ul>
    			<li><a href="javascript:addTap('用户管理','user.jsp')" class="easyui-linkbutton" plain="true" data-options="iconCls:'icon-save'" style="width:150px;background:lightskyblue">easyui</a></li>
    		</ul>
    	</div>   
   		<div data-options="region:'center'" style="padding:5px;background:#eee;">
   			<div id="right" class="easyui-layout" style="width:100%;height:100%;">   
   			 	<div data-options="region:'north'," style="height:100px;">
   			 		当前用户：asd
   			 	</div>   
    			<div data-options="region:'center'" style="padding:5px;background:#eee;">
    				<div id="tabs" class="easyui-tabs" style="width:100%;height:100%;">   
					</div>  
    			</div>   
			</div>  
   		</div>   
	</div>  
	<script type="text/javascript">
		function addTap(title,url){
			if($('#tabs').tabs('exists',title)){
				$('#tabs').tabs('select',title);
			}else{
				var content = "<iframe scrolling='auto' frameborder='0' src="+url+" style='width:100%;height:100%' >";
				$('#tabs').tabs('add',{
					title: title,
					selected: true,
					content:content
				});
			}
		}
	</script>
</body>
</html>
